package sunny.hotel.mapper;

import sunny.hotel.pojo.Hotel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface HotelMapper extends BaseMapper<Hotel> {
    @Select("select * from tb_hotel")
    public List<Hotel> getAll();
}
